			<#macro showPage page> 
			<#assign numPages = page.totalPage>
			<#assign thisPage = page.currentPage>        
			<#if (numPages > 1 ) >
				<#if (thisPage >1) >
					<a href="#" class="btn-a" onclick='javascript:changePage(1);return false;'><span>首页</span></a>
					<#assign previous = page.currentPage>
					<#if page.getHasPrePage()>
						<#assign previous = page.currentPage -1 >
					</#if>
					<a href="#" class="btn-a" onclick='javascript:changePage(${previous});return false;'><span>上一页</span></a>
				<#else>
					<span>首页</span>&nbsp;
					<span>上一页</span>
				</#if>
				<#if (thisPage == numPages) >
					<span>下一页</span>&nbsp;
					<span>尾页</span>
				<#else>
					<#assign next = page.currentPage>
					<#if page.getHasNextPage()>
						<#assign next = page.currentPage + 1 >
					</#if>
					<a href="#" class="btn-a"  onclick='javascript:changePage(${next});return false;'><span>下一页</span></a>
					<a href="#" class="btn-a" onclick='javascript:changePage(${numPages});return false;'><span>尾页</span></a>
				</#if>
				<#assign totalRecord = page.totalRecords>
				&nbsp;&nbsp;第 <input type="text" id="currentPage" class="page-go" size="2" onkeypress="if(event.keyCode==13){javascript:var cpage=1;var currentPage=this;if(currentPage.value<=${numPages}&&currentPage.value.indexOf('.')==-1&& currentPage.value>0){cpage=currentPage.value}else{alert('页面超过范围！');return false;}changePage(cpage);return false;}"> 页
				<a href="#" class="btn-a"  onclick="javascript:var cpage=1;var currentPage=jQuery('#currentPage').val();if(currentPage<=${numPages}&&currentPage.indexOf('.')==-1&& currentPage>0){cpage=currentPage;}else{alert('页面超过范围！');return false;}changePage(cpage);return false;"><span>跳转</span></a> 
				当前第 ${thisPage} 页     共${numPages}页 ${page.totalRecords}条
			</#if>
			</#macro>
			
			
			